package com.atguigu.eduservice.entity.chapter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ChapterVo {

    @ApiModelProperty(value = "课程章节id")
    private String id;

    @ApiModelProperty(value = "课程章节名称")
    private String title;

    @ApiModelProperty(value = "课程章节排序")
    private String sort;

    @ApiModelProperty(value = "课程章节中包含的小节")
    private List<VideoVo> children = new ArrayList<>();

}
